ARM: vITS: provide access to struct pending_irq
authorAndre Przywara <andre.przywara@arm.com>
Wed, 10 May 2017 15:36:01 +0000 (16:36 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 14 Jun 2017 18:38:38 +0000 (11:38 -0700)
commit1e735351497afb2c6b3b3ba4075278a9bf53c7ec
tree034146ea78d5e5868a0d31039cf7d000cb7b288a
parent4b09480a557f926b266c48f199fa350b68e09ff4
ARM: vITS: provide access to struct pending_irq

For each device we allocate one struct pending_irq for each virtual
event (MSI).
Provide a helper function which returns the pointer to the appropriate
struct, to be able to find the right struct when given a virtual
deviceID/eventID pair.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3-its.c
xen/include/asm-arm/gic_v3_its.h